package com.zzzyh.forumsystemclient.model;

import lombok.Data;

@Data
public class PageRequest {
    private Integer currentPage;
    private Integer pageSize;
    private Integer offset;
    private String  keyword;

    public Integer getOffset(){
        return (this.currentPage-1)*this.pageSize;
    }

}